#ifndef GIP_MSGBOX_H
#define GIP_MSGBOX_H 1

// Icons
#define GIP_MSG_WARN 1
#define GIP_MSG_ERROR 2
#define GIP_MSG_ASK 3
#define GIP_MSG_INFO 4

// Buttons
#define GIP_MSG_OK 0
#define GIP_MSG_YESNO 1
#define GIP_MSG_OKCANCEL 2

/* 
   opens a message box dialog with the given title, message, icon and
   option buttons (#define'd above). Returns only after the message box
   is closed, returning the button clicked:
   
   0 = ok / yes 
   1 = no / cancel 
*/

int gip_msgbox(char *title, char *message, int icon, int buttons);

#endif
